m = 20
i = 0
j = 0
while True:
    i += 1
    j += 3
    if j >=m:
        print("青蛙第{}天爬出来了".format(i))
        exit(0)
    j -= 2
